//
//  BanquetHall.swift
//  FeastBooking
//
//  Created by Imon on 2017/9/9.
//  Copyright © 2017年 Imon. All rights reserved.
//

import UIKit
import ObjectMapper

class BanquetHallDetail: Response {
    
    
    var name: String?
    var minimumPrice: Double?
    var area: Double?
    var actualArea: String?
    var colorOfTablecloth: String?
    var columns: String?
    var extraInfos: [String]?
    var height: Double?
    var id: Int?
    var pictureUrls: [String]?
    var shape: String?
    var tableRange: [Int]?
    
    required init?(map: Map) {
        super.init(map: map)
    }
    
    override func mapping(map: Map) {
        super.mapping(map: map)
        name <- map["name"]
        minimumPrice <- map["minimumPrice"]
        area <- map["area"]
        actualArea <- map["actualArea"]
        colorOfTablecloth <- map["colorOfTablecloth"]
        columns <- map["columns"]
        extraInfos <- map["extraInfos"]
        height <- map["height"]
        id <- map["id"]
        pictureUrls <- map["pictureUrls"]
        shape <- map["shape"]
        tableRange <- map["tableRange"]
    }
}
